function tenFold()
    Sets = load('twoclass.mat');
    addpath('netlab3_3');
    [InputSet unusedSet] = combineSets(Sets, 1, 0);
    [ErrorRateMeans ErrorRates] = nFold(InputSet, 10);
    ErrorRateMeans
    plot([1:size(ErrorRateMeans, 2)], ErrorRateMeans);
    xlabel('k');
    ylabel('error rate');
end
